import Layout from "@/layouts/index.vue"
import Main from "@/layouts/components/main.vue"
export default [
  {
    path: "/orderMain",
    name: "orderMain",
    meta: {
      icon: "icon-gongzuotai",
      title: "订单管理",
    },
    component: Layout,
    redirect: "/student",
    children: [
      {
        path: "/studentOrders",
        name: "studentOrders",
        redirect: "/student",
        meta: {
          title: "学生订单",
        },
        component: Main,
        children: [
          {
            path: "/student",
            name: "student",
            title: "学生订单",
            meta: {},
            component: import("@/views/orderManagement/student/list/index.vue"),
          },
        ],
      },
      {
        path: "/changeCourseOrders",
        name: "changeCourseOrders",
        redirect: "/changeCourse",
        meta: {
          title: "换课订单",
        },
        component: Main,
        children: [
          {
            path: "/changeCourse",
            name: "changeCourse",
            meta: {
              hidden: true,
              title: "换课订单",
            },
            component: import("@/views/orderManagement/changeCourse/list/index.vue"),
          },
        ],
      },
      {
        path: "/withdrawalCourseOrders",
        name: "withdrawalCourseOrders",
        redirect: "/withdrawaCoursel",
        meta: {
          title: "退课订单",
        },
        component: Main,
        children: [
          {
            path: "/withdrawaCoursel",
            name: "withdrawaCoursel",
            
            meta: {
              hidden: true,
              title: "退课订单",
            },
            component: import("@/views/orderManagement/withdrawaCoursel/list/index.vue"),
          },
        ],
      },
      {
        path: "/centralizedProcurementOrders",
        name: "centralizedProcurementOrders",
        redirect: "/centralizedProcurement",
        meta: {
          title: "集采订单",
        },
        component: Main,
        children: [
          {
            path: "/centralizedProcurement",
            name: "centralizedProcurement",
            
            meta: {
              hidden: true,
              title: "集采订单",
            },
            component: import("@/views/orderManagement/centralizedProcurement/list/index.vue"),
          },
        ],
      }
    ],
  },
]
